require.config({
    baseUrl: "javascripts",
    paths: {
        "jquery": ["lib/jquery.min"],
        "getPath": ["util/get-absolutePath/get-path"],
        "ajaxBase": ["util/ajax/ajax-base"],
        "login-status": ["util/login/login-state"],
        "login-out": ["util/login/login-out"],
        "setUserInfo":["util/user-info/user-info"],
        "home-handler": ["handle/home-handle"],
        "screenAdopt": ["util/screen-adjust/screenAdopt"],
        "shareArr":["util/share/share-arr"],
        "shareNode":["util/share/share-node"],
        "shareFunction":["util/share/share-function"],
        "sharePhoto":["util/share/share-photo"],
        "shareHeader":["util/share/share-header"],
        "shareBottom":["util/share/share-bottom"],
        "modelNormal":["util/model/model-normal"],
        "scrollPhoto":["util/scroll-photo/scroll-photo"],
        "hover":["util/share/hover"],
        "tool": ["util/tool/tool"],
        "mainPage": ["util/main-to-page-handle"],
        "Layer": ["lib/layer/layer"],
        "layer": ["util/layer-css-init/layer-css-init"]
    },
    shim: {
        'layer': {
            deps: ['Layer'],
            exports: "layer"
        }
    }
})
require(["home-handler"], function (homeHandler) {
    homeHandler()
})
